﻿
namespace MVVMAppIDataErrorInfo
{
    public class ValidationError //: INotifyPropertyChanged
    {
        public string PropertyName { get; set; }
        public string ErrorMessage { get; set; }
    }
}
        //string _propertyName;
        //public string PropertyName
        //{
        //    get { return _propertyName; }
        //    set
        //    {
        //        _propertyName = value;
        //        OnPropertyChanged("PropertyName");
        //    }
        //}

        //string _errorMessage;
        //public string ErrorMessage
        //{
        //    get { return _errorMessage; }
        //    set
        //    {
        //        _errorMessage = value;
        //        OnPropertyChanged("ErrorMessage");
        //    }
        //}

        //#region INotifyPropertyChanged

        //public event PropertyChangedEventHandler PropertyChanged =
        //                                               delegate { };
        //private void OnPropertyChanged(string propertyName)
        //{
        //    PropertyChanged(this, 
        //        new PropertyChangedEventArgs(propertyName));
        //}

        //#endregion

    //}
//}
